@import './welfare.scss'; //联赛福利
@import './ceremony.scss'; //赛段
@import './list.scss'; //榜单

//分页
.page-more {
    width: 90%;
    margin: 5px auto 0;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;

    .btn {
        width: 30px;
        height: 30px;
        background: url("../img/more_p.png") 45% 50% no-repeat;
        background-size: 5px 8px;
        cursor: pointer;
        transform: rotate(180deg);
    }

    .next {
        transform: rotate(0deg);
    }

    .disabled {
        opacity: 0.5;
        cursor: default !important;
    }

    .first,
    .last {
        font-size: 16px;
        color: #6B6B6B;
        cursor: pointer;
        margin: 0 5px;
        height: 30px;
        line-height: 30px;
        text-decoration: underline;
    }

    .page-num {
        // margin: 0 5px;
        display: flex;
        justify-content: space-around;
        align-items: center;

        p {
            width: 20px;
            height: 20px;
            margin: 0 5px;
            font-size: 16px;
            line-height: 20px;
            text-align: center;
            cursor: pointer;
            color: #6B6B6B;
        }

        .active {
            background-color: #EF6CF8;
            color: #fff;
        }
    }
}

.pages-wrap {
    margin: 40px auto;
    width: 700px;
    height: 60px;
    background: #E3E9F3;
    border-radius: 10px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    user-select: none;
    margin-left: -17px;

    .prev {
        width: 29px;
        height: 37px;
        box-sizing: border-box;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transform: rotate(180deg);
        background: url(../img/more.png) center center no-repeat;
        background-size: 100% 100%;
    }

    .next {
        width: 29px;
        height: 37px;
        box-sizing: border-box;
        cursor: pointer;
        flex-shrink: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        background: url(../img/more.png) center center no-repeat;
        background-size: 100% 100%;
    }

    .notClick {
        pointer-events: none;
        cursor: not-allowed;
        background: url(../img/more_n.png) center center no-repeat;
        background-size: 45px 41px;
    }

    .page-content {
        width: 615px;
        display: flex;
        align-items: center;
        overflow: hidden;

        .page {
            width: 154px;
            height: 51px;
            background: url(../img/time.png)top center no-repeat;
            background-size: 100% 100%;
            text-align: center;
            flex-shrink: 0;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0;

            p {
                font-size: 20px;
                font-family: eryaxindahei;
                font-weight: 600;
                color: #EDF4FF;
            }
        }

        .active {
            background: url(../img/time_a.png)top center no-repeat;
            background-size: 100% 100%;

            p {
                color: #FFFFFF;
            }
        }

        // .page:nth-child(2n) {
        //   margin: 0 2px;
        // }
    }
}

//空数据样式
.empty-data {
    text-align: center;
    font-size: 22px;
    color: #5E2A87;
    margin: 80px auto;
}

.toastTip_box {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    // background-color: rgba(0, 0, 0, 0.5);
    z-index: 9;

    .toastTip {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        background: rgba(0, 0, 0, 0.5);
        color: #fff;
        font-size: 20px;
        padding: 15px;
        border-radius: 10px;
    }
}

/* 设置滚动条的样式 */
::-webkit-scrollbar {
    width: 5px;
    height: 5px;
}

/* 滚动槽 */
::-webkit-scrollbar-track {
    /*-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);*/
    border-radius: 10px;
    width: 10px;
}

/* 滚动条滑块 */
::-webkit-scrollbar-thumb {
    border-radius: 2px;
    background: #bbb;
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.5);
}

::-webkit-scrollbar-thumb:window-inactive {
    background: #eee;
}

.home {
    width: 1024px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;

    .header {
        width: 100%;
        height: 773px;
        background: url(../img/header.png)top center no-repeat;
        background-size: 100% 100%;
        position: relative;
    }

    .topTab {
        position: absolute;
        top: 0;
        width: 100%;
        height: 90px;
        display: flex;
        justify-content: center;
        align-items: center;
        background: rgba(255,255,255,0.5);
        li {
            width: 260px;
            height: 76px;
            cursor: pointer;
            user-select: none;
            font-size: 22px;
            text-align: center;
            font-weight: 600;
            color: #FFFFFF;
            line-height: 53px;
            &:nth-child(1){
                background: url(../img/tab1.png)top center no-repeat;
                background-size: 100% 100%;
                &.active {
                    background: url(../img/tab1-h.png)top center no-repeat;
                    background-size: 100% 100%;
                }
            }
            &:nth-child(2){
                background: url(../img/tab2.png)top center no-repeat;
                background-size: 100% 100%;
                &.active {
                    background: url(../img/tab2-h.png)top center no-repeat;
                    background-size: 100% 100%;
                }
            }
            &:nth-child(3){
                background: url(../img/tab3.png)top center no-repeat;
                background-size: 100% 100%;
                &.active {
                    background: url(../img/tab3-h.png)top center no-repeat;
                    background-size: 100% 100%;
                }
            }
        }
    }

    .center {
        background: #C1B8FF url(../img/center.png);
        background-size: 100%;
        padding-bottom: 100px;
    }

    .toast_box_box {
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        position: absolute;
        top: 0;
        left: 0;
        z-index: 9;

        .toast_box {
            position: fixed;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            // background: url(../img/ruleBg.png)top center no-repeat;
            // background-size: 100% 100%;
            // width: 684px;
            // height: 400px;

            .toast {
                position: relative;
                padding-top: 1px;

                .close {
                    position: absolute;
                    right: 0px;
                    top: 0px;
                    width: 44px;
                    height: 44px;
                    background: url(../img/close.png)top center no-repeat;
                    background-size: 100% 100%;
                    cursor: pointer;
                    user-select: none;
                    padding: 0;
                }

                .tips {
                    width: 100%;
                    text-align: center;
                    font-weight: 400;
                    color: #676767;
                    position: absolute;
                    bottom: 10px;
                    left: 0;
                }
            }
        }
    }
}